    <html>  
    <head>  
    <title>Base page for content</title>  
    <script src="/jquery.js" type="text/javascript"></script>  
    
        
        <script type="text/javascript">
<!--
jQuery(function($) {
$("#contentArea").load("test1.php");
});

$().ajaxSend(function(r,s){
$("#contentLoading").show();
});

$().ajaxStop(function(r,s){
$("#contentLoading").fadeOut("fast");
});

//-->
</script>

        
    </head>  
    <body>  
    <div id="contentLoading" class="contentLoading">  
    <img src="loading.gif" alt="Loading data, please wait...">  
    </div>  
   <div id="contentArea">  
   </div>  
   </body>  
   </html>  